package org.boun.swe.ARCEONE;

import org.boun.swe.ARCEONE.R;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

public class MyAccountActivity extends TabActivity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.my_account);
        
        TabHost tabHost = getTabHost();
        tabHost.addTab(tabHost.newTabSpec("tab1").setIndicator("Bildirdiklerim").setContent(new Intent(this, ReportedViolationsActivity.class)));
        tabHost.addTab(tabHost.newTabSpec("tab2").setIndicator("Takip Ettiklerim").setContent(new Intent(this, FollowedViolationsActivity.class)));
        tabHost.setCurrentTab(0); 
    }
}
